package com.ruoyi.yuan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 星系团信息对象 yuan_cluster
 * 
 * @author guifeng
 * @date 2022-08-21
 */
public class Cluster extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 星系团ID */
    private Long clusterId;

    /** 星系团名 */
    @Excel(name = "星系团名")
    private String clusterName;

    public void setClusterId(Long clusterId) 
    {
        this.clusterId = clusterId;
    }

    public Long getClusterId() 
    {
        return clusterId;
    }
    public void setClusterName(String clusterName) 
    {
        this.clusterName = clusterName;
    }

    public String getClusterName() 
    {
        return clusterName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clusterId", getClusterId())
            .append("clusterName", getClusterName())
            .append("parentId", getParentId())
            .toString();
    }
}
